﻿<!doctype html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
    <title>我的搜禾</title>
    <link rel="icon" href="picture/favicon.ico"/>
    <!--图标-->
    <link rel="stylesheet" href="{:_SKIN}/user/css/base.min.css">
    <link rel="stylesheet" href="{:_SKIN}/user/css/common.min.css">
    <link rel="stylesheet" href="{:_SKIN}/user/css/common.css">
    <link rel="stylesheet" href="{:_SKIN}/user/css/frame.css">
    <link rel="stylesheet" href="{:_SKIN}/user/css/index.css">
    <link rel="stylesheet" href="{:_SKIN}/user/css/bottomanimate.min.css">
    <!-- <link rel="stylesheet" type="text/css" href="{:_SKIN}/user/css/bootstrap.min.css"> -->
    <style type="text/css">
        .li-click {
            background: #7BAA18;
        }

        .li-click a {
            color: #FFFFFF !important;
        }
        .menu-list>li>dl{
            display: none;
        }
        .menu-list>li>dl.active{
            display: block;
        }
        h2.active span{
            color: #1b5e20!important;
            font-weight: bold;
        }
    </style>
</head>

<body>

<!-- <div></div> -->
<!--整行替换成网站头部-->


<div class="header">
    <div class="wrap">
        <a class="logo"><img src="{:_SKIN}/user/picture/logo.png"/></a>
        <!--<ul class="head-nav clearfix">

            <li id="zh">
                <a class="main-link" href="{:url('buyers/index')}" module="2">我是买家</a>
                <span class="line"></span>
            </li>
            <li id="hy">
                <a class="main-link" href="{:url('seller/index')}" module="3">我是卖家</a>
                <span class="line"></span>
            </li>
        </ul>-->
        <div class="custom-service">

            <div class="tel">
                <h3>客服热线：</h3>
                <span>400-114-8070</span>
            </div>
        </div>
    </div>
</div>
<div style="clear: both;"></div>
<!-- main -->
<div class="main wrap frame-main">

    <!-- frame-menu -->
    <div class="frame-menu" id="frame-menu">
        <ul class="menu-list">
            <li>
                <h2 class="active">
                    <span>店铺管理</span>
                </h2>
                <dl class="active accordion">
                    <dl class="accordion">
                        <dd class="major lis">
                            <a href="{:url('addproduct')}" target="kuangK"><h3 class="subtit"><span
                                    class="">发布商品</span><em class="spread">&nbsp;</em></h3></a>

                        </dd>

                        <dd class="major lis li-click" >
                            <a href="{:url('productlist')}" target="kuangK"><h3 class="subtit"><span
                                    class="">商品管理</span><em class="spread">&nbsp;</em></h3></a>

                        </dd>

                        <dd class="major lis" >
                            <a href="{:url('no')}" target="kuangK"><h3 class="subtit"><span
                                    class="">消息通知</span><em class="spread">&nbsp;</em></h3></a>

                        </dd>


                    </dl>

                </dl>
                <h2 class="active">
                    <span>商户服务</span>
                </h2>
                <dl class="active accordion">
                    <dl class="accordion">
                        <dd class="major lis">
                            <a href="{:url('procurement/index')}" target="kuangK"><h3 class="subtit"><span
                                    class="">采购大厅</span><em class="spread">&nbsp;</em></h3></a>
                        </dd>

                        <dd class="major lis">
                            <a href="{:url('supply/index')}" target="kuangK"><h3 class="subtit"><span
                                    class="">供应大厅</span><em class="spread">&nbsp;</em></h3></a>
                        </dd>
                    </dl>

                </dl>

                <h2>
                    <span>交易中心</span>
                </h2>


                <dl class="accordion">
                    <dd class="major lis">
                        <a href="{:url('so9order')}" target="kuangK"><h3 class="subtit"><span
                                class="">我的订单</span><em class="spread">&nbsp;</em></h3></a>

                    <dd class="major lis">
                        <a href="{:url('no')}" target="kuangK"><h3 class="subtit"><span
                                class="">退货申请</span><em class="spread">&nbsp;</em></h3></a>

                    </dd>

                    <dd class="major lis">
                        <a href="{:url('no')}" target="kuangK"><h3 class="subtit"><span
                                class="">换货申请</span><em class="spread">&nbsp;</em></h3></a>

                    </dd>

                    <dd class="major lis">
                        <a href="{:url('no')}" target="kuangK"><h3 class="subtit"><span
                                class="">申请提现</span><em class="spread">&nbsp;</em></h3></a>

                    </dd>
                    <dd class="major lis">
                        <a href="{:url('checkthe')}" target="kuangK"><h3 class="subtit"><spanclass="">查看提现</span><em class="spread">&nbsp;</em></h3></a>
                    </dd>
                    </dd>
                </dl>

                <h2>
                    <span>店铺设置</span>
                </h2>


                <dl class="accordion">
                    <dd class="major lis">
                        <a href="{:url('no')}" target="kuangK"><h3 class="subtit"><span
                                class="">店铺信息</span><em class="spread">&nbsp;</em></h3></a>

                    </dd>

                    <dd class="major lis">
                        <a href="{:url('changepwd')}" target="kuangK" ><h3 class="subtit"><span
                                class="">修改密码</span><em class="spread">&nbsp;</em></h3></a>

                    </dd>

                    <dd class="major lis">
                        <a href="{:url('out')}" ><h3 class="subtit"><span
                                class="">退出登录</span><em class="spread">&nbsp;</em></h3></a>

                    </dd>

                </dl>

            </li>

        </ul>
    </div>
    <!-- frame-menu /-->

    <!-- frame-container -->
    <iframe name="kuangK" id="rmain" src="{:url('main')}"  frameborder="0" 
            width="1000"  style="position: relative;left: 5px;"></iframe>
    <!-- frame-container /-->

</div>
<!-- main /-->
<!-- bottom tips -->

<div class="fl_pop_wrap" id="appd_wrap_default">
    <div class="fl_pop_wrap_cntr" id="fl_pop_wrap_cntr">
        <div class="fl_pop_wrap_cntr_bg" id="fl_pop_wrap_cntr_bg">
        </div>
        <div class="fl_pop_box">
            <div class="fl_pop_pic">

                <img id="imgAll" src="{:_SKIN}/user/picture/70a899h2bachrkrliahxkagtkeaagyr6nkolm550.png" border="0">

            </div>
            <div class="fl_pop_cnt">

                <div class="fl_pop_qrcode">

                    <img src="{:_SKIN}/user/picture/bf9c2bc370chrkrlju03cajsgxaaaa80jn-z4629.png" width="112"
                         height="112" alt="">

                </div>
            </div>
            <a href="#" class="fl_wrap_close" title="关闭" id="appd_wrap_close">
                ×
            </a>
        </div>
    </div>
</div>

<div class="foodter ">
    <div class="banquan">
        <p>
            搜禾.科技互联 版权所有(©)2016&nbsp;&nbsp;&nbsp; 运营商 :
            <a>
                山西侬伕电子商务有限公司
            </a><br>咨询热线：400-114-8070 &nbsp;&nbsp;&nbsp; 电子邮箱:isohe@sina.com
        </p>
    </div>
</div>
<script type="text/javascript" src="{:_SKIN}/user/js/jquery.min.js"></script>
{:layui()}
<script type="text/javascript" src="{:_SKIN}/user/js/jquery.superslide.2.1.1.source.js"></script>
<script type="text/javascript">

//    $('#frame-menu').click(function(){

// layer.msg('加载中', {
//    time:2000,         
//   icon: 16
//   ,shade: 0.5
// });



//    });

//     $('.lis').click(function () {

//         $('.lis').removeClass('li-clink');
//         $(this).addClass('li-clink');
//     });
</script>
<script type="text/javascript">
    $('.dropdown', '.topbar').hover(function () {
        $(this).addClass('hover');
    }, function () {
        $(this).removeClass('hover');
    });


    $(function () {
        var bodyerH = $(window).height() - 99;  //璁＄畻鍐呭鐨勯珮搴︼紙涓嶅寘鎷ご閮級
        $("#rmain").height(bodyerH); //璁剧疆涓绘鏋剁殑楂樺害

    })


    //menu侧边栏代码 class="frame-menu" id="frame-menu"
    $(function(){
        $('dd').each(function(index,item){
            // $('dd').eq().removeClass('li-click');
            $('dd').eq(index).click(function(){
                $('dd').eq(index).siblings().removeClass('li-click');
                $('dd').eq(index).addClass('li-click')
                console.log($(item))
            })
        })
    })

    function Tab(btns,contents){
        var _this=this;
        this.btns=btns;
        this.contents=contents;
        this.len = this.btns.length;
        for (var i=0; i<this.len; i++) {
            (function(index){
                this.btns[index].onclick = function(){
                    _this.tab(index)
                }
            })(i)
        }
    }
    Tab.prototype.tab = function(index){
        for(var j=0;j<this.len;j++){
            this.btns[j].classList.remove('active')
            this.contents[j].classList.remove('active')
        }
        this.btns[index].classList.add('active')
        this.contents[index].classList.add('active')
    }

    
    var btns = $('.menu-list>li>h2');
    var contents = $('.menu-list>li>dl');

    var myTab = new Tab(btns,contents);
    
</script>

</body>

</html>